﻿using ProtoBuf.Meta;
using SyncCore.Sync.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SyncCore.Sync.Helpers
{
    public class TypeModelHelper
    {
        public static RuntimeTypeModel CreateMessagePackTypeModel()
        {
            var typeModel = RuntimeTypeModel.Create();
            typeModel.Add<MessagePack>();
            //typeModel.Freeze();
            return typeModel;
        }
      
    }
}
